package entity;

public class Service {
    private Integer service_id;

    private String service_name;

    public Integer getService_id() {
        return service_id;
    }

    public void setService_id(Integer service_id) {
        this.service_id = service_id;
    }

    public String getService_name() {
        return service_name;
    }

    public void setService_name(String service_name) {
        this.service_name = service_name == null ? null : service_name.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", service_id=").append(service_id);
        sb.append(", service_name=").append(service_name);
        sb.append("]");
        return sb.toString();
    }
}